import { LoaderHelp } from "../../../common/display/LoaderHelp";
import { ResFileConst } from "../../resource/ResFileConst";
import { GlobalClass } from "../../../../com/mui/core/GlobalClass";
import { ImagesConst } from "../../resource/ImagesConst";
//class PointerPlayer
    
    export  class PointerPlayer /* flash.display.Sprite */
    {
        constructor()
        {
            
            this.initUI();
            return;
        }

        /* internal  */initUI(): void
        {
            this._pointer = new Object /* flash.display.Bitmap */();
            this._pointer.x = 63;
            this._pointer.y = -20;
            addChild(this._pointer);
            this._redBall = new Object /* flash.display.Bitmap */();
            addChild(this._redBall);
            LoaderHelp.addResCallBack(ResFileConst.Zodiac, this.onResLoaded);
            return;
        }

        /* internal  */onResLoaded(): void
        {
            this._pointer.bitmapData = GlobalClass.getBitmapData(ImagesConst.ZodiacPointer);
            this._redBall.bitmapData = GlobalClass.getBitmapData(ImagesConst.ZodiacStart);
            return;
        }

        /* internal */ /* var */_pointer: Object /* flash.display.Bitmap */;

        /* internal */ /* var */_redBall: Object /* flash.display.Bitmap */;
    }
